home *** CD-ROM | disk | FTP | other *** search
/ Aminet 31 / Aminet 31 (1999)(Schatztruhe)[!][Jun 1999].iso / Aminet / comm / news / slrn-bin.lha / slrn / doc / slrn.rc < prev    next >
Text File  |  1999-04-27  |  19KB  |  515 lines

  1. % -*- slang -*-
  2. % This is a sample startup file for the slrn news reader.  The percent
  3. % character is used for comments.
  4.  
  5. % Note OS/2 and Win32 users: 
  6. %   To separate directories you can either use a single '/' or
  7. %   double '\\'. Single backslashes are not supported.  For example, use
  8. %   "C:\\home\\file.txt" or "C:/home/file.txt" but NOT "C:\home\file.txt"
  9.  
  10. % SERVER to NEWSRC mapping
  11. %server "hsdndev.harvard.edu" ".jnewrc-hsdndev"
  12. %server "news.uni-stuttgart.de" ".jnewsrc-stuttgart"
  13.  
  14. % The next line is for those servers that require a password.
  15. %nnrpaccess "HOSTNAME" "USERNAME" "PASSWORD"
  16. %nnrpaccess "HOSTNAME" "USERNAME" ""         % Prompt for password
  17. %nnrpaccess "HOSTNAME" ""         ""         % Prompt for username and password
  18.  
  19.  
  20. %hostname "YOUR.HOSTNAME"
  21. %set username "jd"
  22.  
  23. %set realname "John Doe"
  24. %set replyto  "jd@somthing.com"
  25.  
  26. % Name of signature file to use
  27. %set signature ".signature"
  28.  
  29. % The quote string will be used when following up/replying
  30. set quote_string ">"
  31.  
  32. % If non-zero, signature will not be included in quoted text of followups
  33. set followup_strip_signature 0
  34.  
  35. % If set to 1, slrn will not allow you to post articles that contain 
  36. % non-quoted lines whose length exceeds 80 characters.  If set to 2, a warning
  37. % will be generated.
  38. set reject_long_lines 1
  39.  
  40. % This regular expression defines lines that are consider to be quoted lines.
  41. % It says that any lines beginning with 0-2 spaces followed by a either
  42. % a >, <, :, |, or = character is a quoted line.
  43. ignore_quotes "^ ? ?[><:=|]"
  44.  
  45. % This sets the follow-up and reply strings.  Here, the following format 
  46. % specifiers are recognized: 
  47. %    %d:date, %r:real name, %f:email address, %s:subject,
  48. %    %m:msgid, %n:newsgroups, %%: percent 
  49. set followup_string "On %d, %r <%f> wrote:"
  50. set reply_string "In %n, you wrote:"
  51.  
  52. %Custom headers to add to NEW posts
  53. %set custom_headers "X-Whatever: bla\nX-Misc: bla bla"
  54.  
  55. % Custom headers for followup/reply.  These can use format specifiers as
  56. % in the 'followup' string variable.
  57. %set followup_custom_headers "X-newsgroup: %n\nX-realname: %r\n"
  58. %set reply_custom_headers "X-newsgroup: %n\nX-realname: %r\n"
  59.  
  60. % Headers to show when viewing an articles.  This is a comma-separated
  61. % list of strings that specify what headers to show.  Note that these 
  62. % strings are not regular expressions.  However, one may use, e.g.,
  63. % "X-" to match any header beginning with "X-".  Similarly, "F" will 
  64. % match "From:" and "Followup".
  65. visible_headers "From:,Subject:,Newsgroups:,Followup-To:,Reply-To:"
  66.  
  67. % WWW browser to use.  The 'U' key in article mode searches the current article
  68. % for a URL and then calls X browser if slrn appears to be run in X windows
  69. % and non_Xbrowser otherwise.  Note: The second Xbrowser form assumes that
  70. % netscape is already running.
  71. set non_Xbrowser "lynx '%s'"
  72. set Xbrowser "netscape '%s' &"
  73. %set Xbrowser            "netscape -remote 'openURL(%s)' &"
  74.  
  75. % If autobaud is present, output rate will be synced to baud rate
  76. %autobaud
  77.  
  78. % if non-zero, display first article when entering article-mode.
  79. set show_article 0
  80.  
  81. % if non-zero, show description of newsgroup if available
  82. set show_descriptions 1
  83.  
  84. % column where group descriptions start
  85. set group_dsc_start_column 40
  86.  
  87. % If non-zero, backups of the newsrc file are not performed.
  88. set no_backups 0
  89.  
  90. % If 0, do not beep terminal.  If 1, send audible beep.  If 2, send only 
  91. % visible bell.  If 3, send both.
  92. set beep 1
  93.  
  94. % If non-zero, slrn will automatically un-subscribe new groups.  
  95. % The default is 0.
  96. set unsubscribe_new_groups 0
  97.  
  98. % If non-zero, all subject titles will be displayed even though many are
  99. % duplicated.  A zero value makes the screen look less busy.
  100. set show_thread_subject 0
  101.  
  102. % If non-zero, slrn will draw the thread tree using simple ascii characters
  103. set simulate_graphic_chars 0
  104.  
  105. % Enable xterm/win32 mouse support: 1 to enable, 0 to disable
  106. set mouse 0
  107.  
  108. % Draw cursor bar ala tin instead of slrn "->" cursor?
  109. set display_cursor_bar    0
  110.  
  111. % Set to 1 to have slrn scroll by full page instead of by line.
  112. set scroll_by_page 0
  113.  
  114. % Setting this to 1 will cause an article to automatically be marked as read
  115. % when viewed.  Setting this to zero means that it is up to the user to 
  116. % explicitly mark an article as read.
  117. set auto_mark_article_as_read 1
  118.  
  119. % Setting either of these to 0 will enable you to move directly to the
  120. % next article/group without confirmation
  121. set query_next_group 1
  122. set query_next_article 1
  123.  
  124. % if zero, you will not see the "next group:" prompt.  This is NOT the same
  125. % as the 'query_next_group' variable.
  126. set prompt_next_group 1
  127.  
  128. % Set this to 0 for no-confirmation on follow, reply, quit, etc...
  129. set confirm_actions 1
  130.  
  131. % If 0, do not display the name of the author.
  132. % If 1, display subject then name.  If 2, display name then subject.
  133. set author_display 2
  134.  
  135. % if 1, display author realname, if 0, display full address
  136. set display_author_realname 1
  137.  
  138. % If 0, save all groups when writing newsrc file
  139. % if 1, do not save any unsubscribed groups
  140. % if 2, do not save any unread-unsubscribed groups
  141. set write_newsrc_flags 0
  142.  
  143. % If non-zero, you will be prompted whether or not a Cc header will be
  144. % generated on the followup.
  145. set cc_followup 0
  146. set cc_followup_string "[This message has also been posted.]"
  147.  
  148. % Set to 0 to turn off display of ~ at end of article
  149. set use_tilde 1
  150.  
  151. % Filename where articles you have posted are archived.
  152. %set save_posts "News/My_Posts"
  153. %set save_replies "News/My_Replies"
  154.  
  155. %File where failed posts are appended.  Use "" to disable saving.
  156. %set failed_posts_file "dead.letter"
  157.  
  158. % The sendmail command allows you to substitute another mailer.  Be sure that 
  159. % it implements the same interface as sendmail!
  160. %set sendmail_command "/usr/lib/sendmail -oi -t -oem -odb"
  161.  
  162.  
  163. % Name of score file  (relative to HOME directory)
  164. scorefile "News/Score"
  165.  
  166. % Articles scoring min_high_score and above constitute a high scoring article.
  167. % Articles scoring below max_low_score define a low scoring article.
  168. % Articles scoring at or below kill_score will be killed.
  169. set min_high_score 1
  170. set max_low_score 0
  171. set kill_score -9999
  172.  
  173. % Name of directory where decoded files are placed (relative to HOME)
  174. set decode_directory "News"
  175. % Directory where all other files are saved.
  176. set save_directory "News"
  177. % Directory where postponed articles are placed.  (Make sure it exists)
  178. set postpone_directory "News/postponed"
  179.  
  180. % If non-zero, abort posting or email operation if the file was not modified
  181. % by the editor.
  182. set abort_unmodified_edits 0
  183.  
  184. % Command used to invoke editor.  In the following example, %s represents
  185. % the file name and %d represents the starting line number
  186. %set editor_command "jed '%s' -g %d -tmp"
  187.  
  188. % Editor command for editing posts, mail, and score files.  Note the use of 
  189. % single quotes around %s.  This is only necessary if you use filenames 
  190. % with spaces in them.
  191. %set mail_editor_command "jed '%s' -g %d -tmp"
  192. %set post_editor_command "jed '%s' -g %d -tmp"
  193. %set score_editor_command "jed '%s' -g %d -tmp"
  194.  
  195. % If  non-zero, files used for posting, followup and reply will be regarded as
  196. % temporary files in the directory specified by the TMPDIR environment 
  197. % variable or /tmp.
  198. set use_tmpdir 0
  199.  
  200. % If 0, do not sort.  If 1, perform threading.  If 2, sort by subject
  201. % If 3, thread then sort result by subject
  202. % If 4, sort by score.  If 5, thread then sort by score.
  203. % If 6, sort by score and subject
  204. % If 7, thread, then sort by score and subject
  205. % If 8, sort by date with most recent first
  206. % If 9, thread, then sort by date with most recent first
  207. % If 10, sort by date with most recent last
  208. % If 11, thread then sort by date with most recent last
  209. set sorting_method 3
  210. set display_score 0
  211.  
  212. % If 1, a header with a new subject will start a new thread.
  213. set new_subject_breaks_threads 0
  214.  
  215. % If non-zero, threads will be uncollapsed when a group is entered
  216. set uncollapse_threads 0
  217.  
  218. % If non-zero, slrn will read the active file when starting.   This may lead to
  219. % faster startup times IF your network connection is fast.  If it slow, 
  220. % DO NOT USE IT.  If you can, I recommend setting it to 1.
  221. set read_active 0
  222.  
  223. % If non-zero and read_active is zero, slrn will attempt to use the NNTP
  224. % XGTITLE command when listing unsubscribed groups